﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCL.Powersource.ViewModels
{
    public class StatisticCalculationErrorEventArgs
    {
        public Exception Exception { get; private set; }
        public UCL.Powersource.Analysis.IStatistic Statistic { get; private set; }
        public ITfsTeamProjectConfiguration TfsTeamProjectConfiguration { get; private set; }
        public ITimeFrame TimeFrame { get; private set; }
        public bool ForceRecalculate { get; private set; }

        public StatisticCalculationErrorEventArgs(Exception exc, UCL.Powersource.Analysis.IStatistic cStat, ITfsTeamProjectConfiguration cProject, ITimeFrame cTiFr, bool forceRecalculate)
        {
            // TODO: Complete member initialization
            this.Exception = exc;
            this.Statistic = cStat;
            this.TfsTeamProjectConfiguration = cProject;
            this.TimeFrame = cTiFr;
            this.ForceRecalculate = forceRecalculate;
        }
    }
}
